package com.leapcloud.crm.core.controller;

import com.leapcloud.crm.core.dto.ImsResponse;
import com.leapcloud.crm.core.model.Page;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author motorfu
 * @email ffu@maxleap.com
 * @since 2018/8/29 20:17
 */
@Controller
@RequestMapping("/core")
@Api(description = "API 入口界面")
public class IndexController {

  @GetMapping
  public String index() {
    return "";
  }

  @GetMapping(value = "/api/docs")
  @ApiOperation(value = "apiDocs", notes = "ddd")
  public String apiDocs() {
    return "swagger/index";
  }

}
